package team.seekers.hula.teamwork.teamTodo.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import team.seekers.hula.user.user.entity.vo.UserBasicInfoVO;

import java.util.Date;

/**
 * 新增团队待办时，明确每个参与者的任务
 * @author hbc
 * @since 2023-01-05
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamTodoParticipantAddDTO {

    @ApiModelProperty(value = "参加者的信息")
    private UserBasicInfoVO userInfo;

    @ApiModelProperty(value = "参加者的任务title")
    private String title;

    @ApiModelProperty(value = "该任务分配的hula币")
    private Double hulaCoin;

    @ApiModelProperty(value = "该任务的截止时间")
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date gmtEnd;


    @ApiModelProperty(value = "所属团队待办的id")
    private String teamTodoId;

    @ApiModelProperty(value = "所属团队待办的title")
    private String teamTodoTitle;

}
